package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;


import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/02/06/21:14
 * @Description:
 */
@Data
public class RentInContractCRUDInfo implements Serializable {

    /**
     * rent_in_contract_info(租入合同信息表)
     * contractId           合同编号
     * assetsId             资产编号
     *lessor               出租方
     *lessee                承租方
     *contact               联系人
     *phone                手机号
     *contractBeginDate    合同开始时间
     *contractEndDate     合同结束时间
     * annualRent          年租金
     * contractStatusId     合同状态id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("contract_id")
    private String contractId;
    @TableField("asset_id")
    private String assetId;
    private String lessor;
    private String lessee;
    private String contact;
    private String phone;
    @TableField("contract_begin_date")
    private Date contractBeginDate;
    @TableField("contract_end_date")
    private Date contractEndDate;
    @TableField("annual_rent")
    private Integer annualRent;
    @TableField("contract_status_id")
    private Integer contractStatusId;
    private String address;
    @TableField("asset_type_id")
    private Integer assetTypeId;

}
